import fetch from "@/utils/fetch";
// 获取数据情况
export function GetDataProfileInfo(data) {
  return fetch({
    url: "/FangLianHang/GetDataProfileInfo",
    method: "post",
    data: data
  });
}
// 获取所有行政却
export function GetAllRegion(data) {
  return fetch({
    url: "/FangLianHang/GetAllRegion",
    method: "post",
    data: data
  });
}

// 历史成交分析
export function HistoricalVolumeAnalysis(data) {
  return fetch({
    url: "/FangLianHang/HistoricalVolumeAnalysis",
    method: "post",
    data: data
  });
}

// 获取成交排名前十
export function GetBusinessRanking(data) {
  return fetch({
    url: "/FangLianHang/GetBusinessRanking",
    method: "post",
    data: data
  });
}

// 双项指标统计
export function GetDataByDoubleTargetForTwo(data) {
  return fetch({
    url: "/FangLianHang/GetDataByDoubleTargetForTwo",
    method: "post",
    data: data
  });
}

// 获取所有区域
export function GetAllArea(data) {
  return fetch({
    url: "/FangLianHang/GetAllArea",
    method: "post",
    data: data
  });
}

// 获取指定区域所有门店
export function GetAllStoreByAreaId(data) {
  return fetch({
    url: "/FangLianHang/GetAllStoreByAreaId",
    method: "post",
    data: data
  });
}
// 获取城市各区域门店、客户、房源、业绩、成交汇总数据
export function GetSumDataByCityDistrict(data) {
  return fetch({
    url: "/FangLianHang/GetSumDataByCityDistrict",
    method: "post",
    data: data
  });
}

// 指定指标指定时间段按日按周按月 按类型、指标 增量
export function GetDoubleDetailList(data) {
  return fetch({
    url: "/FangLianHang/GetDoubleDetailList",
    method: "post",
    data: data
  });
}

// 成交量/业绩/总收入/实勘/带看详细
export function GetDetailNew(data) {
  return fetch({
    url: "/FangLianHang/GetDetailNew",
    method: "post",
    data: data
  });
}

// 获取字典表字典类型
export function GetDataDictionaries(data) {
  return fetch({
    url: "/FangLianHang/GetDataDictionaries",
    method: "post",
    data: data
  });
}

// 指定指标指定时间段按日按周按月房源增量
export function GetHousingDetailList(data) {
  return fetch({
    url: "/FangLianHang/GetHousingDetailList",
    method: "post",
    data: data
  });
}

// 指定指标指定时间段按日按周按月客源增量
export function GetTouristsDetailList(data) {
  return fetch({
    url: "/FangLianHang/GetTouristsDetailList",
    method: "post",
    data: data
  });
}

// 单项指标统计
export function GetDataByTargetForTwo(data) {
  return fetch({
    url: "/FangLianHang/GetDataByTargetForTwo",
    method: "post",
    data: data
  });
}
// 房源、客源
export function GetWorkloadSummary(data) {
  return fetch({
    url: "/FangLianHang/GetWorkloadSummary",
    method: "post",
    data: data
  });
}
// 房源、客源 table
export function GetWorkloadDetail(data) {
  return fetch({
    url: "/FangLianHang/GetWorkloadDetail",
    method: "post",
    data: data
  });
}
// 店均、人均
export function GetSumData(data) {
  return fetch({
    url: "/FangLianHang/GetSumData",
    method: "post",
    data: data
  });
}
export function GetSumDataByCity(data) {
  return fetch({
    url: "/FangLianHang/GetSumDataByCity",
    method: "post",
    data: data
  });
}
// 经营数据分析
export function GetOperatingDataRankings(data) {
  return fetch({
    url: "/FangLianHang/GetOperatingDataRankings",
    method: "post",
    data: data
  });
}
// 客源看板
export function GetFLHGuestData(data) {
  return fetch({
    url: "/FangLianHang/GetFLHGuestData",
    method: "post",
    data: data
  });
}

// 房源看板
export function GetFLHHousingData(data) {
  return fetch({
    url: "/FangLianHang/GetFLHHousingData",
    method: "post",
    data: data
  });
}
// 排名
export function GetTurnoverRanking(data) {
  return fetch({
    url: "/FangLianHang/GetTurnoverRanking",
    method: "post",
    data: data
  });
}
// 人员发展规模汇总信息
export function GetFLHPersonnelData(data) {
  return fetch({
    url: "/FangLianHang/GetFLHPersonnelData",
    method: "post",
    data: data
  });
}

export function GetWorkloadRanking(data) {
  return fetch({
    url: "/FangLianHang/GetWorkloadRanking",
    method: "post",
    data: data
  });
}
export function GetFLHWorkloadData(data) {
  return fetch({
    url: "/FangLianHang/GetFLHWorkloadData",
    method: "post",
    data: data
  });
}
export function GetFLHHeatData(data) {
  return fetch({
    url: "/FangLianHang/GetFLHHeatData",
    method: "post",
    data: data
  });
}
